/*
 * @Author: Cenven
 * @Date: 2020-12-26 16:08:46
 * @Description: 北京泓深教育发展有限公司
 * @Descripttion: 
 * @version: @Lastest
 * @LastEditTime: 2021-06-07 16:44:25
 * @CopyRight: 北京泓深教育发展有限公司
 */
import http from "~/utils/http";
export const getClass = data => {
  return http({
    url: "classes/list",
    method: "post",
    data
  });
};
//获取班级信息
export const getClassInfo = (id) => {
  return http({
      url: 'classes/selectOne?id=' + id,
      method: 'get',
  });
};